define(function(require,exports,module){
    
    // 投资项目列表
    
    var tpl = require('../../tpl/member/invest_repayPlan.tpl');//载入tpl模板
    var url = '/member/invest/allRepayPlan.html?';
    var curId = $("#oncallPlanDiv");
    var pagerid = "kkpagerOncallPlan";
    //初始化显示表格、搜索
    require.async(['./showTable','./search'],function(showTable,search){
    	search.search(url,tpl,curId,pagerid);
        // 点击后重新加载列表分页搜索
        $(".oncall_plan").click(function(){
        	showTable.ajaxUrl(url,tpl,curId,pagerid);
        	
        });
    });
});
